<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/10/12
  Time: 11:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>图书信息</title>
    <style type="text/css">
        #container{
            width: 450px;
            border: solid 1px;
            padding: 20px;
        }
        #title{
            font-size: 16px;
            font-weight: bold;
            color: #3399FF;
        }
        #content{
            font-size: 12px;
            text-align: left;
        }
    </style>
</head>
<body>
<jsp:useBean id="book" class="com.chapter6.javabean.Book"></jsp:useBean>
<jsp:useBean id="encoding" class="com.chapter6.javabean.CharactorEncoding"></jsp:useBean>
<jsp:setProperty name="book" property="*"/>
<div align="center">
    <div id="title">
        <%=encoding.toString(book.getTitle()8)%></div>
</div>
<hr>
<div id="content">
    <%= encoding.toString(book.getContent())%>
</div>
</div>
</body>
</html>
